/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

body {
  margin: 0;
  padding: 0;
}

.blog-title {
  width: fit-content;
  font-size: 24px;
}

.list-item {
  height: 40px;
  padding: 10px;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.list-item:hover {
  background-color: #f5f5f5;
}

/* Markdown styling */
.markdown-content h1, 
.markdown-content h2, 
.markdown-content h3 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.markdown-content code {
  background-color: #f5f5f5;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

.markdown-content pre {
  background-color: #f5f5f5;
  padding: 1em;
  border-radius: 5px;
  overflow-x: auto;
}

.markdown-content ul {
  padding-left: 20px;
}

.markdown-content a {
  color: #2196f3;
  text-decoration: none;
}

.markdown-content a:hover {
  text-decoration: underline;
}

/* Comment styling */
.comment-author {
  font-weight: bold;
  color: #1976d2;
}

.comment-text {
  line-height: 1.5;
  margin-top: 5px;
}

.comments-section {
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: 30px;
}

/* Game styling */
.chess-black {
  background-color: #000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.chess-white {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}